import request from "./useRequests";

export default function addViews() {
  async function viewing() {
    try {
      const res = await request.put('/back/addVisitsCount')
      // console.log(res)
    } catch (err: any) {
      console.warn(err);
    }
  }

  return {
    viewing
  }
}